removed the code that stopped compaction, now performing compaction also