fix win32 build
regain performance by movind division out of the loop