Fixed to handle one vertex case