make receiving buffer of BayesActClient adaptive