docs: public double getMaxDist(VectorApproximation vec) {
      final int dim = lookup.length;
      double maxDist = 0;
      for(int d = 0; d < dim; d++) {
        final int vp = vec.getApproximation(d);
        maxDist += getPartialMaxDist(d, vp);
      }
      return FastMath.pow(maxDist, onebyp);
    }