build distributed version