use new power-of-two-only functions from ansa