Added option to limit team size