bitwise hamming distance. (still not tractable)