add conditional on TOLERANCE_NONZERO to help closure eliminate dead code

saves 154 bytes in compiled version, 41 whole bytes after gzip