Align and distribute nodes