Set up initial cube state.