Cleanup of power of two arithmetic in HyperLogLog and addition
of IllegalArgumentException to the constructor when invalid argument
is provided.