Pre-Allocating Buffer