Proper centering of alpha_grid for sparse matrices