Little bit modify the compaction