add search to generalized suffix tree