Simple reformat
Dynamic buffer size control