improved problems with adjacent (to prism layer) boundaries