add assert that compactionstrategy != null