test if it is power of 2.