firstly, you will divide the whole procedure into several phases
then, set proper values to RS to counteract the drift of your cursor during this phase.
e.g. if the cursor drifts to the upper-left corner, you will set the RS to the down-right direction,
all you need to do is to find a suitable strength and angle for each phase.