Infinite script recursion (250 calls) detected - how to bypass it?

I would really like to get a clue about it as well. Since I’m having a function needing to be called legitimately about a 1600 times (it’s not for real-time purpose, but rendering.)