fixed a bug where backup paths could have negative bandwidth usage in heuristic A