finish iteration d2