Rearrange the pipeline of pow
to gain efficiency
#74367
+101
−44
Merged