change O(N) to O(n)
Merge pull request #326 from sumnous/patch-3

change O(N) to O(n)