Alignment, using DP