Allow passing in total weight for packing

cc @BlakeMesdag @garymardell