fixed EvenlyDistributedTopology and wrote a distribution test