parallelized the main loop, results seem a tiny bit less nice, not sure if it's because of it though