vec: update for the new slice representation