make step size changeable on directional field function