finished the compute search node in 2D matrix