splice to slice