removed creating arrays

arrays re too big, so now it is just a loop tracking the length of each
array