Converting existing random structure to Gem.