- adapted to the new contructor of HeatMapGrid