changes on suffixTree