Each surety on a personal official bond may state in writing the amount of the liability assumed by him, beyond which amount he shall not be held. The aggregate of the amounts assumed by all the sureties shall not be less than the penalty of the bond. In case of loss or default, the sureties will be entitled, as between each other, to contribution in the proportion of their liability.