Compiled planning w2