DGIndex: Add initialization process for uninitialized variables