Add option for connecting hits along chain recursively