Nucleon-nucleon scattering in high waves and pion-pion dynamics