fix bug with (conter-)clockwise vertices order