Optimize task, iterate over src and dest. ref #7