nonlocal boundary conditions