changed position of cache, and first try to paralelize plot of pixels and glFlush
didn't work