fixed bug in SerialMesh::stitching_helper related to incorrect boundary IDs when two surfaces within the same mesh.