added support for circle and grid topologies in cloud