did you put in an AFR for 0 throttle less than 1800 rpm? If so, change those to 0 (zero mean AT do not adjust this area). the AT will try and adjust at idle and causes it to surge like that.
the AT reads your AFR from the wide band sensors and compares it to your AFR set in the PCV map. if...