Average Run Lengths of an Optimal Method of Detecting a Change in Distribution