 
     }
 
-    static func make(from bytes: [UInt8], with alphabetSize: Int) -> [Int] {
+    static func make(from bytes: [Int], with alphabetSize: Int) -> [Int] {
         let state = State(bytes: bytes, alphabetSize: alphabetSize)
 
         var guessedSuffixArray = guessLMSSort(state)

                continue
            }

            let bucketIndex = state.input[i].toInt()
            result[bucketTails[bucketIndex]] = i
            bucketTails[bucketIndex] -= 1
        }


                for i in 0..<self.bytes.count {
                    let y = self.bytes[i]
                    summarySuffixArray[y + 1] = i
                }

                return summarySuffixArray
