adding back small links in graphs