Okay..I have raster layer, and I wanted first to combine cells that are adjacent and diagonal. To do so , I used Region Group with option �??EIGHT�?� , �??CROSS�?� option for zone grouping method. Secondly, I wanted to derive the nearest distances for each polygon. So I converted the resulting raster to polygon. Then I used the NEAR tool to get the nearest distance. The problem is I'm getting Near distance with zeros values, which shouldn't be so. So the problem is how to get rid of these zeros, or my model might be from the beignning was wrong, don't know..Any hint on that..Appreciate...