Added weighting to graph safe_path method