malloc bug time_steps