some more modifications to boundary read-in
This is fairly complicated, so I need to put some thought into
how to achieve this in a relatively straightforward and useable way