cnc reduce program length