Dispersion-managed links with randomly variable map length