Mandelbrot algorithm is updated.