support buffer-size(-b, --buffer-size) option