There can be max_dim elements in the groups section
Handle max_dim elements in the groups section.