Loosely matching rhymes for bit inversion