NGEM_PARTS
GEM_PART g_local[NGEM_PARTS];
memcpy(g_local, g_root->parts, NGEM_PARTS*sizeof(GEM_PART));
for (i = 0; i < NGEM_PARTS; i++) {
for (j = 0; j < NGEM_PARTS; j++) {
if (j == NGEM_PARTS)
GEM_PART parts[NGEM_PARTS]; /* see above */