sped up set_bond