OK I figured it out, thank you! There is a mistake with the "E2" value: the number of loops before N goes under the starting point.
I'll try to fix it!