How to eliminate stack overflow error even after allocating a large stack size? | Hacker News Reader