"dynamic" buffor size