Loosely matching rhymes for cyclic permuted code