vertical dijkstra working, not integrated yet