make work with real cubes also
 : todo: remaining indexing differences t3d[0,1:2,2:]
 : todo: make importable