only allocating num_buffered_fields as well