New Manual Discretization algorithm