Renamed depths root_distance per Pau Ruŀlan Ferragut's suggestion.