change logic of working with steps of discretization