=str Fix worst performance hotspot in graph builder

Did some profiling of https://github.com/rkuhn/stweemz/blob/s3/src/main/scala/preso/Step6.scala
Set.tail was a low hanging hotspot.