flaten vertices