Pack length limit added

Pack length limit added