Yes, it does. It all depends of the algorithm you're using to modify the lines. Inside the code is the explanation of how it works.