3d grip - deformation of the optimal shape