Tiny bug in bn_power_2() - didn't work with powers that were a