Optimization of transformation of measurements of ship hull blocks