You can still use the “remote” to set the position of my buildings on the desired surface and surround them with fill to the width you need:
local buildings = remote.call("WSR-RI", "get_surface_buildings", "nauvis")
for _, building in ipairs(buildings) do
log(("%s (%.1f, %.1f): %d × %d tiles"):format(
building.name,
building.position.x,
building.position.y,
building.width,
building.height
))
end