update pack sizes, check that no commit is lost during packing