Study of the origin of the cube texture