Caching inner and outer widths