change number of boundary error iterations