docs: public void setMinRate(double min)
      {
          if(min <= 0 || Double.isNaN(min) || Double.isInfinite(min))
              throw new RuntimeException("minRate should be positive, not " + min);
          this.min = min;
      }