Note to add parallelism
Implement antialiasing and parallelize the main loop