Lattice of all possible distances between the mth data point of X and the nth data point of Y \cite{dtw}