The premium or compensation for becoming a surety on a bond shall not exceed five (5) percent of the amount of such bond where the offense charged is a misdemeanor. The premium or compensation for becoming a surety on a bond shall not exceed eight (8) percent of the amount of such bond where the offense charged is a felony. (1971, ch. 765, § 4.)