Distributed computing with varying cluster size in Go