monotonic deque