Homogenization for conductive thin layers of prefractal type