Spacetime Octree