added resource sharing of $macc cells