Added dictionary pruning if it grows past size 20M (by default).