ENH: spatial relations and boundary conditions