Create sum_array