datacenter: Change algorithm to bestfit and implement migration