now distance arrays work for more timesteps