code for suffix array div 2