Working over new algorithm for lines normalisation (intermediate commit).
The performance gain achieved, but it is not enough, because still exist exponential growth.