Octree working a little bit better, but still buggy