Optimizing my Ford-Fulkerson implementation for sparse graphs.