cache size values. use let