Adding minDistance to RICGEdge