Main Search Dp Dpp Compilation