tweak to SH to use c pow instead of my own impl.