Means for adapting the filling head to various sizes of containers