Fixed team length problem in criterion