Thanks to Sergey's neighbor access functions. Mesh filter still needs some improvements to handle open boundaries better.