Converted vectors to deque