Compute getLowBitsSet correctly. Using the complement of a 64-bit value