Fixing size of writes to good buffer