added a non-sparse version of dst