add bf_buffer_increase_length()