Split links so that they do not overflow