[Common]: a minor bug in power2.

1 should be considered as 2^n.