build_walkable_space now receives params as a struct.