I actually asked the same question to Luigi! The max_distance attribute comes from the parameter hazard_maximum_distance which is in meters whereas the grid is in kilometers. I will add a comment explaining that.