Move-to-front dict heuristic.