Optimum patch repair shapes for cracked members