Add a fourth simpler, non-sparse version