change bit_strength to bit_length (bit_strength aliases still available)