Accountn for floating point errors