New way of constructing meshes