What are the factors that the Supreme Court suggests to consider besides the gravity of offence during trials

Consider factors like delayed trial and long jail time in addition to the gravity of offence