plants become taller as a means to reach for light. If there is insufficient lighting or too far away then the plants will stretch. It would be helpful to know what lights you are using, so that I or someone else may be able to tell you a safe distance it should be from the plant.