reverted dtw