Introducing variant tree structure and selective processing