handle rounding errors with coseta