Normally punishments fit the crime more than the criminal. Countries have big long lists of minimum and maximum sentances for particular crimes. Within this there is a little leaway dependent upon the state of mind of the criminal, repeat offences and what their motivation was.