The original recursive parse would cause stack size exceeding system limit and a segment fault when dealing with large date ( usually 100k lines or more ).
Change recursive parse to iterative parse
I'll look into this. Thanks for the patch!
@msva I'll look into this at some point. Sorry for the delay.
apply pull #4