step-by-step method of input size selection