I don’t understand how you are using Hamming distance with variable string lengths, could you walk me through this from the source code?