Some strains, mainly sativas, naturally have wide intermodal spacing and tend to stretch a lot in flower. In a situation where they stretch due a light being to far away or other environmental related cause, given environmental needs are met, the amount of stretch in flower is related to genetics not how far they stretched in veg.