optimize cloud effect