Estimating stop over duration in the presence of trap-effects