Add a reverse lookup and improve the bridging looping logic to be bidirectional, not just forward-looking.