This is super important. In fact, it is THE most important question of all! You must only use yarns that have Spandex or Polyamide blended into the base of the yarn such as cotton or acrylic.
This will offer the same kind of stretch you get in a regular swimsuit. And if it stretches, it should also be able to retract back and hug your body comfortably when wet or dry.