implemented dangerous edge splitting