Create SrfGrid from contours using GH

I had a problem with this before but thought it was solved, I cannot seem to find the problem. When running the script, I get a ‘‘a point in the grid is null. Fitting operation aborted’’, but the bounding box is the lowest point so i dont get why the ‘‘a point in the grid is null. Fitting operation aborted’’ pops up.
GH Script: https://drive.google.com/file/d/15qSdWWv6ZmlDPyI2zBjMDx8I_2TInTaX/view?pli=1
Rhino File: https://drive.google.com/file/d/1O97FG0xfKNa6kGF42nIHg1RLoF8DyoPo/view

Just changing the slider value from 400 to 390 allows the code to work. Perhaps because your geometry is so very far away from the origin?

The mesh is invalid but can be fixed by culling duplicate points first (9.6 minutes! red group)


Landcape from contours_2020Nov29a.gh (4.6 MB)

(Why is that small GH model 4.6 MB?!)