Dyanmic cache size