limit stack trace, in case of stack overflow error