add atompair constraints to pose