This MR solves the problem of sometimes vertices not beeing acccepted, when they are close to an edge.