adjust cache size