It would be better to compute this as `links.mapValues( rank => 1.0 )`