Solving the incomplete markets model with aggregate uncertainty by backward induction