Adding Instances Freezes The Game

I’m trying to make chunks like Minecraft, but every time a chunk is created the game freezes for some seconds, how can I get around that / improve that?
The Instances are created once the chunk spawns, in (Construction Script).

Are they created based on proximity similar to MC? How complex are the chunks? How are the chunks made?