Regularization by Discretization