Extract buffer size to be one macro, defaulting to be 10.