generalized search trees