fix counter edge when splitting cycles
more fixes for circular routes