Subterranean hydrocarbon deposits often contain low-molecular-weight gaseous hydrocarbons at various pressures, temperatures and depths. Fai 1 ure to prevent the invasion of this gas into a cement slurry during completion can result in numerous problems. A few of the known manifestat i ons of gas channeling are poor zonal isolation, annular pressure buildup, loss of hydrocarbons to nonrecoverable zones, required squeeze cementing and flow of gas to the surface.