Depth is now member variable not function (save on compute)