docs: public int getGroupSize() {
          if (groupSize > 0 || cpMemberCount == 0) {
              return groupSize;
          }
  
          int groupSize = cpMemberCount;
          if (groupSize % 2 == 0) {
              groupSize--;
          }
  
          return Math.min(groupSize, MAX_GROUP_SIZE);
      }