A unified framework for nearby and distant landmarks in bearing-only SLAM | Synapse