docs: static HeapUpdateDoublesSketch newInstance(final int k) {
      final HeapUpdateDoublesSketch hqs = new HeapUpdateDoublesSketch(k);
      final int baseBufAlloc = 2 * Math.min(DoublesSketch.MIN_K, k); //the min is important
      hqs.n_ = 0;
      hqs.combinedBuffer_ = new double[baseBufAlloc];
      hqs.baseBufferCount_ = 0;
      hqs.bitPattern_ = 0;
      hqs.minValue_ = Double.NaN;
      hqs.maxValue_ = Double.NaN;
      return hqs;
    }