Crypto: Optimized away pown function
Crypto: Move max triplet id into variable
Crypto: power variable can be initialized in for loop