minor refactorings on the SuffixArray implementation