fn clear_excess_bits_in_final_word(domain_size: usize, words: &mut [u64])