Discretizer refactoring
Simplify constructors
Add tests on bounded discretizer with large partition