common buf_len meashure