my attempt

Tested on bennet.

optimized fractal algorithm took 20.04 seconds
choosing new f