several performance improvements in MeshGroup