docs: public void reset() {
      final int ceilingLgK = Util.toLog2(Util.ceilingPowerOf2(k_), "VarOptItemsSketch");
      final int initialLgSize =
              SamplingUtil.startingSubMultiple(ceilingLgK, rf_.lg(), MIN_LG_ARR_ITEMS);
  
      currItemsAlloc_ = SamplingUtil.getAdjustedSize(k_, 1 << initialLgSize);
      data_    = new ArrayList<>(currItemsAlloc_);
      weights_ = new ArrayList<>(currItemsAlloc_);
      if (marks_ != null) {
        marks_ = new ArrayList<>(currItemsAlloc_);
      }
  
      n_ = 0;
      h_ = 0;
      m_ = 0;
      r_ = 0;
      numMarksInH_ = 0;
      totalWtR_ = 0.0;
    }