Neutron strength functions and average total cross sections II. The behavior of the average cross sections and the S-wave scattering lengths