Aligning flow elements