Fix particles with extents. Fix particles with extents. Add more sanity checks to tree build.