Constucting photon map