A method for forming a dielectric layer in an integrated circuit is disclosed. After a first dielectric layer is formed, a second dielectric layer is formed on top of the first layer. The second layer is formed by reducing precursor gas flow during the initial portion of the deposition