code: private boolean resetActivePointToTerminal() {
          if (activeEdge != null && activeEdge.getLength() == activeLength && activeEdge.isTerminating()) {
              activeNode = activeEdge.getTerminal();
              activeEdge = null;
              activeLength = 0;
              return true;
          }
          return false;
  
      }
docs: Resizes the active length in the case where we are sitting on a terminal.
  
  @return true if reset occurs false otherwise.