The LinearDiscretizer in HW2 is going slow because it is doing bisection search. Should take advantage of the regularity of the grids.