norm_hamming_distance() added