work on monolithic output and outer borders