median check combined word suffixTree