Building an Octree from a Set of Parallelepipeds

What do you call an algorithm designed to stack things up to build larger things? Why, STACK, of course.