Replace 2-dimension array by 1 dimension array