remove line iterator factory because it is not needed