split Alignment into HAlign and VAlign