Adding detection of non-consecutive nodes in gmsh meshes