avoid using the stack when possible, try to stay in C