[Fix] if unvisit_edge list is empty, just continue