How does the first sample spawn the cube?