matching immediate x neighbours
left and right matching case1