Fixed tuning issue due to rounding error.