Think of it logically!!
Home
2x2x2
3x3x3
4x4x4
5x5x5
Collection
Contact
More
The cube must look like this in order for the algorithm to work!!