bisect: use the standard 'if (!var)' way to check for 0