Add a limit to generate the lines.