Convert map.pending_arcs to std::vector