After applying compaction, we must adjust the generation.