What do you use OutPut2 for?
Hood
It swiches off automatic arc height control before leadout or in case it is better to cut in manual THC mode.
So you're getting dive at kerf crossing and/or slow down at leadout.
You should really use anti-dive but if you prefer to switch off THC then you can't do it with ANY macro without Mach stopping. It's not so much that a macro takes time to do what it does, it's because Mach's CV planner doesn't blend movement accross a macro call and therefore you get an exact stop between the two moves.
Do a search for the E1P0/E1P1 command family which were created for laser users but may help you.
Ian