Add max stack depth to agent am: 9e709debac
am: ecd5f956fe

Change-Id: I549c82acdbc9a8486885f6106270ca7453bf7163