octree raycasting almost working