find: remove seenIds; we can can deduce it from paths[]