Tricky math
msvc stuff