better unify_slice