adding depth for ast node