New iterative algorithm between stream function and density for transonic cascade flow