solved convergence problems, not so tough, go back to dynamic programming