Bin packing algorithms applied to the cloud environment