verify.c: optimum: handle input evaluating to negative values