I don't follow the last step mentioned in the answer to this post
Why is does this hold? $$n^{k^2\log n}=2^{k^2\log^2n}$$
I would have posted this question as a comment on the post, but apparently I don't have enough reputation points to do that...