[graph-tool] Problems in bellman_ford_search (OverflowError and TypeError)