Optimized model buffering.