grid-constrained heat map more or less working (or at least rendering)