Fixed wrong length bug for makeCube