increased initial dictionary size to 10_000_000 greatly improved performance.