Adding step function of a series list.