Fix zore vector failure in HammingDist