def homogenizeDictsN(allDicts, allKeys=0):
    """Homogenizes more than 3 dictionaries
	
	Not in use right now, for polyxipe"""
    ndicts = len(allDicts)
    if allKeys == 0:
        allKeys = []
        for dict in allDicts:
            allKeys = allKeys + dict.keys()
        allKeys = list(set(allKeys))
    newDicts = []
    for dict in allDicts:
        thisDict = {}
        for key in allKeys:
            if key in dict:
                thisDict[key] = dict[key]
            else:
                thisDict[key] = 0
        newDicts.append(thisDict)
    return newDicts
