Updated cube mechanics.
Updated cube mechanics.