Loosely matching rhymes for unit-distance code