It depends how big you want it to get. The first time you grow a strain, assume it will triple in height from start of flowering to finish, and make the switch at about a third of what you want the final height of the plant to be.
If you're growing indoors with lights above the plants, it's not really worth growing taller than about 3 feet, as the lights won't penetrate much further than this and you will only get light, airy buds around the bottom of the plant. With sidelighting it's not such a problem, and you can grow to as high as you have room for.