Kontrolloni dhe ndryshoni kufirin e rekursionit të Python (p.sh. sys.setrecursionlimit) https://sq.from-locals.com/python-recursionlimit/