Added max step to the input parameters