dijkstra multiple preview which doesn't work well