finish array slice