Solve pdst problem