handling of composite meshes