bugfix - used FMMX_NDIM when needed FMMX_NCHILD