Tree search.