In terms of the final effect, it doesn't really matter. Sometimes it is easier to do it at the beginning. Sometimes it is the other way around. Sometimes you can do it in the middle of the exposure. Work out your moves beforehand. Let the image and your experience dictate the logistics.