Creating solid objects using cubes