Dijkstra’s Algorithm on the Tech Tree