avg depth of ast node