Add bit reversal to part_shift_dynamic