Code works again. Issue with map_boundary intersection.