implemented iterator#walk
infinite check in iterator#join()