[Olena-patches] last-svn-commit-9-g81466eb 2-steps maxtree algorithm with Salembier topological sort and union-find building.