Mesh optimization based on moab