Line following general question

Not much to go on with there. How about posting all the code?

Also try commenting out the Serial prints. They take time. (Or put something like #if DEBUG around them).