Fix bad bug collecting the max depth in space_split()
This fixes an incorrect calculation combined with a race condition in space_split_recursive()
when gathering the cell and space's maxdepth.
Fixes #708 (closed).
This fixes an incorrect calculation combined with a race condition in space_split_recursive()
when gathering the cell and space's maxdepth.
Fixes #708 (closed).