Doesn't that lead to vastly unfair sentencing? For example you could target a specific group with harsher sentences, or use minor crimes to stick people with the maximum sentence. Everyone is guilty of something.
https://www.washingtonpost.com/news/wonk/wp/2017/11/16/black...
(Some would say this is the point.)