MeshBuilder: spaceDim must be consistent across processes