Changing behaviour of Runtime#depth: now relies on stack size, not action results