Switched indexes of input/output; Input memory shortened for overflow;