Made arcs values into lists of vertices.