Spectra selection methods: A novel optimization way for treating dynamic spectra and in-line near infrared modeling