Maximum number of groups to process at once

My guess is that the groups are/were stored in a 32 bit integer. I suppose this could be scaled up to 64 on modern machines.