improved buffering calculation