Aligning even rows
Odd rows are almost the same, but we use different masks and shift right instead of left