Adaptive Slicing In Additive Manufacturing Process Using A Modified Boundary Octree Data Structure