When resources (especially routing resources) is limited, it helps to use the concept of half subtractors and full subtractors. This is equivalent to the concept of half adders and full adders in module 0217. The only difference is that instead of using “C” for C(X,Y ), we use “B” for B(X,Y ).
Each column of half subtractors is a full-subtractor.