fixed shape compaction