improved heatMap debug logging