loopUnrolling works. started to build the double buffer
added multithreading