a grid with m rows and n columns is used to form a cluster of nodes