Used TypeArray instead js arrays. I thing this is looks more faster.