new node to compare segments by the pixel agreement