UPCGGraph::GetGridSizes

Determine the relevant grid sizes by inspecting all HiGenGridSize nodes.