Fix dwell look up table function overflow (overflow appeared on 8.2ms)