Dynamic Threshold for Cloud