Improved performance for CircularSuffixArray