fixing the equation for child node's loosing probability