Mechanical optimization design program