A container loading algorithm