vector -> deque