Lightweight Sparse Grid Implementation.