Fix for ENG-4967, small stack size is a little too small, has caused ove...

...rflow in two instances