Exoplanets

In the core-accretion model, what must a growing planetary core do before it can capture a substantial hydrogen-helium envelope?