Align works with both envelope and trace