fixed random cube pos, setting length and width.
undo redo works