reworked bit reversal LUT