core: rename chunk_size to bits_count