Development of high-speed automatic planning method of tool posture considering shape change of workpiece during machining process