Accurate approximate analysis of cell-based switch architectures