Online v Offline Bin packing algorithm