3D Cubes Pattern Design