change delete buffer size to be in bytes