Working Stream compaction

Stream compaction is working for triangles, but not integrated into the
actual algorithm loop.