Introducing Octree for speed up intersection calculation.