Fixed the 'i' issue, read the comments there

I was initialising the first node length to 0 :X