Multileaf collimator in radiotherapy