putting pdtw problem at same level