added depths to inheritance tree