Swap reverses all bits in chunks of the granularity size. So given bits = ABCDEFGHIJKLMNOP, you get:
swapped(8, bits) -> IJKLMNOPABCDEFGH
swapped(4, bits) -> MNOPIJKLEFGHABCD
swapped(2, bits) -> OPMNKLIJGHEFCDAB
swapped(1, bits) -> PONMLKJIHGFEDCBA
So the full bit reversal when granularity = 1 is emergent phenomena rather than an exception.