[Olena-patches] milena r3572: Test geodesic distance with component tree and try to apply