Better coucal_is_acceptable_pow2() logic