accel_time_x works in windows VS, but fails in windows clion and wsl. It seems to be a recursion error. Investigate and fix