code: public double getPartialMaxDist(int dimension, int vp) {
      final int qp = queryApprox.getApproximation(dimension);
      if(vp < qp) {
        return lookup[dimension][vp];
      }
      else if(vp > qp) {
        return lookup[dimension][vp + 1];
      }
      else {
        return Math.max(lookup[dimension][vp], lookup[dimension][vp + 1]);
      }
    }
docs: Get the maximum distance contribution of a single dimension.
  
  @param dimension Dimension
  @param vp Vector position
  @return Increment