bugfix: pack table when size == 31