Optimal design for masonry structures FRP-reinforcement