If you want to transplant your weed into grow tray after few weeks, you don’t have to worry about roots getting too big.
Roots of hydroponically grown plants never get bigger than diameter of grow tray they grow in.
This is possible because they can optimally supply themselves with nutrients through their root system.