A Stream Compaction Technique Based on Multi-Level Power Simulation