The source term and waste optimization of molten salt reactors with processing