generate X0 mesh, using python