1 iteration of alignment