changed method of detecting number alive neighbors from search to active notify