Approach for CAD model reconstruction from a deformed mesh