mid value support FOR <heatmapS.sh>