Add BIT_MAX_BUFFER definition