working issue #60

single-dimension .each works well. MD not at all.
multi-dimensions need to be fixed.