fix comparision of constant 0 with boolean
(fRef - fStart) is floating point