Multichannel Approach To the Glauber Model For Heavy-ion Collisions