Updated the Cube shape builder

- Added support for cubes with offset.
Fixed a bug in the Icosahedron shape builder