Implemented resizing and changing dimensions of cuboid nodes.