never compare == 0 with floats, always use very small value