docs: public LandmarkStorage setMaximumWeight(double maxWeight) {
          if (maxWeight > 0) {
              this.factor = maxWeight / PRECISION;
              if (Double.isInfinite(factor) || Double.isNaN(factor))
                  throw new IllegalStateException("Illegal factor " + factor + " calculated from maximum weight " + maxWeight);
          }
          return this;
      }