Speed up for mandelbrot set.