Loosely matching rhymes for shannon-fano code