Proposed bill would lessen sentences in some cases