impl bellman-ford vector exchange