Reducing MRI-guided radiotherapy planning and delivery times via efficient leaf sequencing and segment shape optimization algorithms. (7th March 2022)