Optimizing the cube vertices references.