reallocate buffers as well as on-heap allocation by default