change 0.0 to 0.05 to avoid potential problems with identical zero.