deque: add not-sure-how-clever placement heuristic