Add maxBuffer as configuration option

It is appropriate to have the ability to set maxBuffer as developer see fit.