Optimal perturbations and streak spacing in wall-bounded turbulent shear flow