implemented avoidEdges force