Well, the code using my strategy still needs something that I can't see now, but just like I saw the pattern with the powers of 2, I'm certain that I will see what's missing for it to be faster.
Currently, I will be working on #130, now that I finally understood how the BSGS works.