design of beams for flexure