The court said the punishment must be proportionate to the crime and should serve the purpose of deterrence, while taking into account the rights of the victim and the society