finished max_num array