Study and optimization of the mechanical deformation processes