[ERR] add element only works for (2(maxNodeElements) - 1) elements