finish the innerjoin firstIteration