Only using splay tree for > 1000 child ids.

Saves memory.