Have you a simple sketch of the line?
Mark it with expansions and points where the calcs fails for the line.
Maybe you put some arrangements for expansión but they are not enough or the points you choose are not the best.
Rgds.