shadow: initialize shadow cache size properly