ParsingState: keep last variants instead of all roots