checkCube