Add offsetToZero to gfunc.