docs: protected double[] kNNDistances() {
      int k = getEntry(0).getKnnDistances().length;
  
      double[] result = new double[k];
  
      for(int i = 0; i < getNumEntries(); i++) {
        for(int j = 0; j < k; j++) {
          MkTabEntry entry = getEntry(i);
          result[j] = Math.max(result[j], entry.getKnnDistance(j + 1));
        }
      }
  
      return result;
    }