In your case you could only have one trace per side of the cube, right? Since all the panels of that side would be visible or invisible anyway... That's only six traces and wouldn't take up that much calculation time and always deactivate at least 3 sides of the cube.