[S:1]1[CH2:6][CH2:5][NH:4][C:3]2[CH:7]=[CH:8][CH:9]=[CH:10][C:2]1=2.[Br:11][CH2:12][CH2:13][CH2:14]Br.C([O-])([O-])=O.[Na+].[Na+]>CN(C=O)C.C(OCC)(=O)C>[S:1]1[CH2:6][CH2:5][N:4]([CH2:14][CH2:13][CH2:12][Br:11])[C:3]2[CH:7]=[CH:8][CH:9]=[CH:10][C:2]1=2A mixture of 3,4-dihydro-2H-benzo[b][1,4]thiazine (2.0 g, 1.0 eq, 13.24 mmol), 1,3-dibromopropane (14 ml, 10 eq, 132.4 mmol) and anhydrous Na2CO3 (4.21 g, 3.0 eq, 39.7 mmol) in dry DMF (130 ml) was heated at 70° C. for 16 h. The reaction mixture was diluted with ethyl acetate (200 ml) and washed with water and brine. The organic layer was dried (Na2SO4), condensed, and the residue was chromatographed using ethyl acetate and hexanes to obtain the title compound as yellow oil (2.13 g, 59% yield).