Function removeEndingVertex