don't allow overflows to cause errors, set to -9999