support nagative weights in shortest_path_tree

fix #150