Optimize mandelbrot_double updates