added check for leader in grid clustering strategy