Program movement from first to second machining area