What numbers do in the parameters like new Cube (g, 50,50,50); new Cube (g,400,50,100)...
enter image description here