removed fast-math optimization due to conflicts with tsd approach