Lower max stack size to fix stack overflow errors (rev dogles)