A recursive formula to calculate the steady state of CDMA networks