fixed re-introduced ZeroDivisionError bug in case first run takes longer than 3 seconds