Pad cubes to 4D