docs: protected double selectBest( int length ) {
  		double best = Double.MAX_VALUE;
  		int index = -1;
  		for( int i = minDisparity; i < length; i++ ) {
  			if( score[i] < best ) {
  				best = score[i];
  				index = i;
  			}
  		}
  
  		return index-minDisparity;
  	}