2d to 3d back to 2d hypercube images into hyper d