Code to fix cube-in-cube problem