allow overriding code gen buf size