~half done with NC pair constraint generation script