new time loop to optimize read and memory
Merge branch 'master' of github.com:eguil/Density_bining