This causes a segfault upon calling mesh.Mesh(plex, dim=3,reorder=reorder) as well.