Fixed buffer concatenation inefficiency.