It is not an old code, it is an another way to calculate groupSize and groupBase