fix photon map integrator