in the hazard calculation we have the collections of the points considered by the calculation.

I would assert that the length of the created rows in the gmf_agg is equal to the length of such collection. What do you think?