new update for n stream compaction