add suffix array to codebook