Only check against output bounds when necessary.