genpairs ant target
ignore segments farther than 20 away