About to refactor deque.scm