shadow: use pointer to shadow cache size