add linepair module, and do a pair-scan