Fire 40 percent contained