buffer optimization experiment.