add a fudge offset to avoid issues with floating point imprecion