Matrix error

Hi everybody, I have a surface and I’m trying to obtain the offset table but in the matrix I don’t manage to have the same number of intersection points and corresponding values.
Hope you can help me. Thanks a lot for the time dedicated

Linesplane_error.gh (211.9 KB)