fls and next_set_bit work, poly_div is broken