longer chain added

longer chain works for depth 3 it means mouseover node which will has 3 edge length upto 4 nodes