Split a 3D area in subcubes recursivelly