fixed error in max team size in generateTeams