finished implementing parallel shuffle macros