Be sure not to get confused between depth (which is for a single node) and height (which is for the entire tree).