A cloud computing network and an optimization algorithm for IaaS providers