Arbitrary degree distribution networks withperturbations