Modifications to investigate non-manifold error.