Child steps, dynamic programming