Title: Optimal control of nonseparable problems by iterative dynamic programming