Loosely matching rhymes for beam compression