Use group size instead of recalculating it