dist: more modifications for multiindex
dist: more work on multiindex