provide better control over preallocating buffers

Formatting is goofy here too