Avoid dividing by 0