Maybe somebody can write it using pointers? It may be faster then...