Text this: A class-based clustering static compaction technique for combinational circuits