Max heap is used during a nearest neighbour search, speeding things up considerably.
Final gathering looks weird; some problems with extra photons altering the brightness of the scene (which shouldn't happen)