Changes to make the size of the deque node more manageable