compute the non-overlaping duration length instead of simply adding them up