change name of set_bit_pos to get_set_bit_pos