cleaned up suffix array