docs: private void growDataArrays() {
      currItemsAlloc_ = SamplingUtil.getAdjustedSize(k_, currItemsAlloc_ << rf_.lg());
      if (currItemsAlloc_ == k_) {
        ++currItemsAlloc_;
      }
  
      data_.ensureCapacity(currItemsAlloc_);
      weights_.ensureCapacity(currItemsAlloc_);
      if (marks_ != null) {
        marks_.ensureCapacity(currItemsAlloc_);
      }
    }