[OH:1][C@H:2]1[CH2:6][NH:5][C@H:4]([C:7]([O:9][CH3:10])=[O:8])[CH2:3]1.C=O.[C:13]([BH3-])#N.[Na+]>CO>[OH:1][C@H:2]1[CH2:6][N:5]([CH3:13])[C@H:4]([C:7]([O:9][CH3:10])=[O:8])[CH2:3]1Methyl (2S,4R)-4-hydroxypyrrolidine-2-carboxylate 3a (5.53 g, 38 mmol) was dissolved in 80 mL of methanol in an ice-water bath, followed by addition of 40% formaldehyde solution (31 mL, 380 mmol) and sodium cyanoborohydride (12 g, 190 mmol) in batches. The reaction mixture was stirred for 0.5 hours, then warmed up to room temperature and stirred for 3 hours. The mixture was quenched with 40 mL of water, concentrated under reduced pressure and extracted with dichloromethane (80 mL×3). The combined organic extracts were washed with saturated brine (30 mL×2), dried over anhydrous sodium sulfate and filtered. The filtrate was concentrated under reduced pressure to obtain the title compound methyl (2S,4R)-4-hydroxy-1-methyl-pyrrolidine-2-carboxylate 3b crude product as a colourless oil, which was directly used in the next step.