build: split build_walkable_space.