code: public static double getMaxLength(double[] widths, double[] heights) {
  		double maxWidth = getMaxLength(widths);
  		double maxHeight = getMaxLength(heights);
  		double maxLength = Math.min(maxWidth, maxHeight);
  		return maxLength;
  	}
docs: Get the max distance length that matches the tile widths and heights
  
  @param widths
  sorted tile matrix widths
  @param heights
  sorted tile matrix heights
  @return max length
  @since 1.2.0