Basic support for 2D neighborhood search for analysis