bit reverse iteration