photon map working much faster now that I delete memory properly