Optimal regularity of extended mean field controls and their piecewise constant approximation.