Optimal design of shape memory alloy composite under deflection constraint