wip; next have to exclude bndry on resid. restr.