Implemented recursive heatmap sharpening.