Main Search Dp Double