Optimized uniform passing, generateTestMap() can now have map size specified.