sparse dmd
some sparse stuff