Optimize shiftout (compile messages and send directly)