Model and algorithm for container ship stowage planning based on bin-packing problem