now with recalculated durations
EDIT: It seems to work pretty well. I made a process and put it in my Github: