Loosely matching rhymes for refractive index distribution