Implement @vocab compaction.