Use a faster lines function.