Simulation of the effect of barriers upon electrical tree propagation