now working fully without simd