wrote photon gather for spatial data structure, hope it works
good news: we now have the spatial data structure working!!!