seperated array resize from digit count