Loosely matching rhymes for hamming code