Use a MemoryEfficientByteAlignedBigULongArray to store the suffix array