Consolidate the code that expands geoid groupings.