simple performance improvement for context size