         if cur_n - prev_n == seq_direction
           j += 1
         else
-          if j - i > 2 # length-3 chains and up
+          if j - i > 1
             result.push
               pattern: 'sequence'
               i: i

      if password.charAt(j-1) == password.charAt(j)
        j += 1
      else
        if j - i > 2 # length-3 chains and up
          result.push
            pattern: 'repeat'
            i: i

        j += 1
      # otherwise push the pattern discovered so far, if any...
      else
        if j - i > 1 # don't consider length-1 chains
          result.push
            pattern: 'spatial'
            i: i
