The Supreme Court waded back into the issue of prison sentences Wednesday to determine when a judge’s discretion to impose additional time behind bars violates a convict’s constitutional rights.

In two major rulings since 2004, the court has said that systems that allow judges alone to decide facts that lead to longer prison terms violate a defendant’s Sixth Amendment right to a jury trial.