getChild now allocates memory for nonexistant space.
Removed a direct access of a space's space. space->getChild() should be
used.