Modeling of RC interconnect circuit and its recursive algorithm