split package when package is too big