it is sufficient to set the last item to 0