added 2-dijkstra-perm