tweak to make sure only integer durations are used on the gantt chart;