a quite stupid way to achieve the cube
testing partitions(beta)