Linear suffix array construction implementation according to Karkkainen and Sander's algorithm.