Add neighborhood debug, fix bug with neighbor type