checkpoint
implement suffix array pre-processing - not tested yet