Improve some unnecessary data access.

Erase current_bitset and current_frequency to add bitset_list and frequency_list, both initialized in the constructor to reduce some memory writes.