Wire up sampling index iteration task