fix: flat areas: merge more vertices more predictably, prevents crashes