Add -bufsize when encoding in constant mode

Closes #64