Since pretty early days in OS X, I’ve always held down the option key when resizing my Dock so that it snaps to a predefined, presumably good size.