Would that be a problem? sqrt(0) = 0 and the calculation goes on as it should.