made buffer smaller