fixing max stack size for context processing