Missing return of the cheapest path. Duh.
Link is finally alive ! I was messing things up a bit