support three index map
Merge pull request #295 from coocood/master

support three index slices