Move pack limits from pack.c to pack.h