The government says sentences of six months or less are ineffective at cutting reoffending.