add time length of buffer