tweak 2**N optimisation a bit more in Py3