MPHTXT: added support for quad meshes