Different approach to tree search