Hierarchical compact compression