Adding number of missing inner and outer layers