swapping many bits