CAD/CAM model of machining cycle with many rapid moves