docs: public double getPartialMaxMaxDist(int dimension) {
      double[] data = lookup[dimension];
      double max = data[0];
      for(int i = 1; i < data.length; i++) {
        max = Math.max(max, data[i]);
      }
      return max;
    }