"And the whole amount of the sums so to be assessed upon dwelling houses and slaves within each state respectively, shall be deducted from the sum hereby apportioned each state, and the remainder of the sum shall be assessed upon the lands within such state according to the valuations to be made pursuant to the act aforesaid, and at such per centum as will be sufficient to produce the said remainder ..."