finish array2d