removing duplicate edges so longest road is easier to detect
build restrictions for settlements, duplicate edge removal