globalize the shuffle macro for a future shot at SMC in su.c