Improve the compaction#2