gestalt-intersect is probably not useful as an API
(original commit adapted to naive-routing setting)