update klsh to use new hamming structures