added a skeleton for materialization
structure to store cuboids and find nearest descendant