efficient distribution with keys