A new approach to deformation energy calculations