Better output and more aggressive merging.