Structure Summon

So i have my procedurally generated dungeon and i want it so i could summon it like not generated in world, but so that when player for example throws some stuff on the ground it would build it self. I tried /place command but it wont trigger the jigsaw. So if anybody have some ideas, please share
Continue to help post