added isCompleteCube() method