Adjust cache sizes