dot product iter2