Use a list instead of a deque