Fix issue in out_concat with static buffer