Loosely matching rhymes for photolithography