https://theapache64.github.io/posts/power-of-two-with-bitwise/