Revert "suffix arrays"

This reverts commit 5d992ace2459c30bf7a636b3c78ec15b4b50f61b.
suffix array