Transition from 2D to 3D brachytherapy