This is nearly done, however I now reazlize that the neighborhood can have a different height than a width.