0 1 2 3 4 5 6 last_edge stop_edge first last c2 c1 c0