Finished for i1 = i4 and i2 = i4, now to complete movement.