flajolet-martin-algorithm