ensure no of courses doesn't exceed group size