MI algorithm done, averaging done