Unwrapping a tesseract (4d cube aka hypercube)