HM: 16 segments per tier
HM: Improved leaf_groups by skipping all empty groups