Bin-packing problems with load balancing and stability constraints