added ash table call
allocate size of initial and final distribution array
store all values from ash_table in arrays