Privacy Preserving of Intermediate Datasets In Cloud for Improving Efficiency