Convert mapByValue to map

Add Length/Stops; Stops/Length