Search in 8 neighbors.

Signed-off-by: CyberZHG <cyberzhg@gmail.com>