docs: static int computeLgK(final double threshold, final double rse) {
      final double v = Math.ceil(1.0 / (threshold * rse * rse));
      final int lgK = (int) Math.ceil(Math.log(v) / Math.log(2));
      if (lgK > MAX_LG_NOM_LONGS) {
        throw new SketchesArgumentException("Requested Sketch (LgK = " + lgK + " &gt; 2^26), "
            + "either increase the threshold, the rse or both.");
      }
      return lgK;
    }