Improving performances on linetracer