On the calculation of the Y40 deformation in strongly deformed heavy nuclei