add finding negative cycle row