docs: private int bagSizePower() throws IOException
    {
      long avgObjectSize = (valuesOut.size() + numWritten - 1) / numWritten;
  
      for (int i = 31; i >= 0; --i) {
        if ((1L << i) * avgObjectSize <= fileSizeLimit) {
          if (actuallyFits(i)) {
            return i;
          }
        }
      }
      throw new ISE(
          "no value split found with fileSizeLimit [%d], avgObjectSize [%d]",
          fileSizeLimit,
          avgObjectSize
      );
    }