Experimental visiting algorithm.