docs: public Step pollLast() {
          Deque<Step> queue = get();
          Step last = queue.pollLast();
          if (queue.isEmpty()) {
              queue.add(createRootStep());
          }
          return last;
      }