tree: implemented bestof qualifier modus