Optimize code for adding clouds to the cloud carousel.