Fixed memory overflow during enormous structure initialization