OK, didn't notice that. I thought hamming distance just counts the number of dissimilar bits...