toSeq on an Iterator is lazy by default.