Much faster buffer concat.
Implemented boundary checking for the Buffer implementation.