Managing distribution costs