Fisrt iteration