Simulations and measurements of capacitance in dielectric stacks and consequences for integration