make add_freebond_to_atom func