Small changes

- small changes in cube.cpp