Main Search 3d Compilation