fix a serious bug when computing distances in HyperLogLog++