Radiative transfer and spectroscopic databases: A line-sampling Monte Carlo approach. (March 2016)