     k = 0
 
     // remainder
-    switch len & 3 { // `len % 4'
+    switch maxBytes & 3 { // `len % 4'
       case 3: k ^= UInt32(tail[2] << 16)
       case 2: k ^= UInt32(tail[1] << 8)
       case 1:

    return hash
  }

}

  // * https://github.com/jwerle/murmurhash.c
  // * https://en.wikipedia.org/wiki/MurmurHash

  public static func doHash32(key: UnsafePointer<UInt8>, maxBytes: Int,
      seed: UInt32 = 0) -> UInt32 {
    let c1: UInt32 = 0xcc9e2d51
    let c2: UInt32 = 0x1b873593
    let r1: UInt32 = 15
