A Quadratic Edge-Finding Algorithm for Cumulative Resource