Replaced exterior_edges() to boundary_facets() as suggested in the comment