Rather than defining this function inside the other function, let's move it out and call it `_spaceBlockingTablesInLists`. This avoids the overhead of redefining the function every time `spaceBlockingElements` is called and also makes `spaceBlockingElements` itself more readable.