added daily compaction - fixes issue #4