Shape optimization of running shoes with desired deformation properties