MinMax function is added - a helper function for heatmap.combine