Erro fatal do python: não é possível recuperar do estouro de pilha.

Seems like you looped too much. I can't help because I do not know what you are 
trying to do, but I recommend you substitute the loops with something else.
Thankful Toucan