Buffer size optimization while retaining the same dictionary reset cycle